Component({
  properties: {
    start: {
      type: Number,
      observer: "likeClick",
      value: 0,
    },
  },

  data: {
    imgList:[],
  },
  methods: {
    likeClick(){
      let b = Math.floor(Math.random() * 6) + 1;
      let img = {
        b: b,
        bl: Math.floor(Math.random() * 11) + 1, // bl1~bl11
        t: Date.now(),
        url:'/cheng/images/bg'+ b + '.png'
      }
      let imgList = this.data.imgList
      imgList.push(img)
      this.setData({imgList})
    },
  }
})
